#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
void init(int arr[])
{
	for (int i = 0; i < 2; i++)
		arr[i] = 0;
	for (int i = 0; i < 2; i++)
		printf("%d ", arr[i]);
}


void print(int arr[])
{
	for (int i = 0; i < 2; i++)
		printf("%d ", arr[i]);
}


void reverse(int arr[])
{
	for (int i = 0; i < 1; i++)
	{
		int t = arr[i];
		arr[i] = arr[i +1];
		arr[i + 1] = t;
	}
	for (int i = 0; i < 2; i++)
		printf("%d ", arr[i]);
}


int main()
{
	int arr[] = { 1, 2 };
	/*init(arr);*/
	/*print(arr);*/
	reverse(arr);
	return 0;
}